package com.test.myestest.vo;

import java.io.Serializable;

public class ESSearchFileVo implements Serializable {
    /**必须字段*/
    //索引名
    private String indexName;
    //检索字段名
    private String searchKey;
    //检索字段值
    private String searchValue;
    //分页 页数从0开始
    private Integer pageNum;
    //分页 每页大小
    private Integer pageSize;

    /**其他检索字段,根据业务需求增加*/
    //排序字段
    private String sortKey;
    //排序规则
    private String sortOrder;

    public String getSortKey() {
        return sortKey;
    }

    public void setSortKey(String sortKey) {
        this.sortKey = sortKey;
    }

    public String getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(String sortOrder) {
        this.sortOrder = sortOrder;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public String getSearchKey() {
        return searchKey;
    }

    public void setSearchKey(String searchKey) {
        this.searchKey = searchKey;
    }

    public String getSearchValue() {
        return searchValue;
    }

    public void setSearchValue(String searchValue) {
        this.searchValue = searchValue;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "ESSearchFileVo{" +
                "indexName='" + indexName + '\'' +
                ", searchKey='" + searchKey + '\'' +
                ", searchValue='" + searchValue + '\'' +
                ", pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", sortKey='" + sortKey + '\'' +
                ", sortOrder='" + sortOrder + '\'' +
                '}';
    }
}
